package com.github.pig.admin.model.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("sys_group")
public class SysGroup extends Model<SysGroup> {

    private Integer id;

    private String name;

    private Integer createUser;

    private Date createTime;

    private Integer delFlag;

    private Integer updateUser;

    private Date updateTime;

    private Integer sort;

    private Integer parentId;

    @Override
    protected Serializable pkVal() {
        return this.id;
    }
}